package com.ideal.frame.node.enumeration;

/**
 * @description:
 * @author: xuyang
 * @date: 2021/8/30 16:40
 */
public enum NodeLevel {
    /**
     * ROOT节点下的根节点
     */
    CHILD_ROOT("根节点", -1),
    ROOT("根节点", 0),
    FIRST("一级节点", 1),
    SECOND("二级节点", 2),
    THIRD("三级节点", 3);

    private String text;
    private int value;
    private NodeLevel(String text, int value){
        this.text = text;
        this.value = value;
    }

    public String getText() {
        return text;
    }

    public int getValue() {
        return value;
    }
}
